const express = require('express')
const app = express()
//app.use()用来调用express.static()，快速的对外提供资源
//多个重名时显示先托管的文件
app.use(express.static('./test'))
app.use(express.static('./demo'))
// app.use('/demo', express.static('./demo'))
app.listen(8888, () => {
    console.log('express server running at localhost:8888');
})